checkout: Add --fsync=false
authorColin Walters <walters@verbum.org>
Tue, 6 Jan 2015 21:00:27 +0000 (16:00 -0500)
committerColin Walters <walters@verbum.org>
Wed, 7 Jan 2015 16:41:46 +0000 (11:41 -0500)
commitf23f556f03f72b966c7a6cc8f4afa03a29d1ea5f
treeecfdf62c815c832737dd757b53dae827fbd9503d
parent687a6f8314acf62b4434302a9269cd7a5d2d97a1
checkout: Add --fsync=false

Some use cases for checkouts don't need to fsync during checkout.
Installer programs for example will just do a global fsync at the end.

In the future, the default "ostree admin" core could also be
rearchitected to only do a transaction commit right before reboot, and
do the fsync then.

https://bugzilla.gnome.org/show_bug.cgi?id=742482
Makefile-ostree.am
src/libostree/ostree-repo-checkout.c
src/ostree/ot-builtin-checkout.c
src/ostree/ot-builtin-commit.c
src/ostree/ot-tool-util.c [new file with mode: 0644]
src/ostree/ot-tool-util.h [new file with mode: 0644]